package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 分类管理对象 yz_classify
 * 
 * @author ruoyi
 * @date 2024-03-28
 */
public class YzClassify extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long classifyId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String classifyName;

    /** 类型id */
    @Excel(name = "类型id")
    private Long classifyType;

    public void setClassifyId(Long classifyId)
    {
        this.classifyId = classifyId;
    }

    public Long getClassifyId()
    {
        return classifyId;
    }
    public void setClassifyName(String classifyName)
    {
        this.classifyName = classifyName;
    }

    public String getClassifyName()
    {
        return classifyName;
    }
    public void setClassifyType(Long classifyType)
    {
        this.classifyType = classifyType;
    }

    public Long getClassifyType()
    {
        return classifyType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classifyId", getClassifyId())
            .append("classifyName", getClassifyName())
            .append("parentId", getParentId())
            .append("classifyType", getClassifyType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
